//  小程序支付预下单
export const prePayApi = (data) => wx.http.post('/chat/pay/prePay', data)
// 查询订单支付结果
export const payResultApi = (outTradeNo) => wx.http.get('/chat/pay/queryPayResult?type=outTradeNo&outTradeNo=' + outTradeNo)
// 查询用户充值提现记录
export const payRecordApi = ({ userId, dateMonth }) => wx.http.get('/chat/pay/queryPayRecord?userId=' + userId + '&dateMonth=' + dateMonth)
// 提现申请           
export const cashOutApplyApi = (data) => wx.http.post('/chat/pay/cashOutApply', data)